package com.keyue.isolate.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.List;


@Getter
@AllArgsConstructor
public enum DataPermissionFieldRangeEnum {

    SOURCE_PLATFORM("sourcePlatform", DataPermissionModelEnum.getSourcePlatformList(), "来源平台",true),
    WAREHOUSE_CODE("warehouseCode", DataPermissionModelEnum.getWarehouseCodeList(), "仓库名称",true),
    COMPANY_CODE("companyCode", DataPermissionModelEnum.getCompanyCodeList(), "承运商公司名称",true),
    CARRIER_CODE("carrierCode", DataPermissionModelEnum.getCarrierCodeList(), "承运商信息",true),
    TRANSPORT_TYPE_CODE("transportTypeCode", DataPermissionModelEnum.getTransportTypeCodeList(), "承运类型",true),
    SUB_TRANSPORT_TYPE_CODE("subTransportTypeCode", DataPermissionModelEnum.getSubTransportTypeCodeList(), "承运子类型",true),
    CUSTOMER("customer", DataPermissionModelEnum.getCustomerList(), "下单客户",true),
    CONTRACT_BODY("contractBody", DataPermissionModelEnum.getContractBodyList(), "合同主体",true),
    FROM_CITY_CODE("fromCityCode", DataPermissionModelEnum.getFromCityCodeList(), "出发城市",false),
    ;
    private String field;

    private List<String> modelTypeRanges;

    private String desc;

    /**
     * 是否展示在前端数据隔离配置的说明表中
     */
    private boolean showInPage;


}
